package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//配置表
type PeiZhi struct {
	Id               primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Batch_Number     string             `bson:"batch_number" binding:"required" json:"batch_number" form:"batch_number"`
	Length           []int              `bson:"length" binding:"required" json:"length" form:"length"`                               //石墨电极的长度，单位mm
	Diameter         []int              `bson:"diameter" binding:"required" json:"diameter" form:"diameter"`                         //石墨电极直径，单位mm
	Pot_Number       []string           `bson:"pot_number" binding:"required" form:"pot_number" json:"pot_number"`                   //成型 锅号
	Water_OC_Cabinet []string           `bson:"water_oc_cabinet" binding:"required" form:"water_oc_cabinet" json:"water_oc_cabinet"` //石墨化水温柜
	Parking_OC       []string           `bson:"parking_oc" form:"parking_oc" json:"parking_oc"`                                      //车位温度
	CF_Meter         []string           `bson:"cf_meter" form:"cf_meter" json:"cf_meter"`                                            //环式炉表号
	Case             []string           `bson:"case" form:"case" json:"case"`                                                        //浸渍框号
	Granularity      []struct {
		Granularity_Size string `bson:"granularity_size" json:"granularity_size" form:"granularity_size"`
		Weight           int    `bson:"weight" json:"weight" form:"weight" json:"weight"`
	}                                   //筛分颗粒度
	Norms_Type   string   `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Oven_Chamber []string `bson:"oven_chamber" form:"oven_chamber" json:"oven_chamber"` //浸渍预热炉炉室
	Waste_Type   []string `bson:"waste_type" form:"waste_type" json:"waste_type"`       //废品类型
	Creator      string   `bson:"creator" json:"creator" form:"creator"`                //创建者
	CreatedAt    string   `bson:"createdAt" json:"createdAt" form:"createdAt"`          //后端生成时间
	Describe     string   `bson:"describe" json:"describe" form:"describe"`             //描述
}
